@import "./variables/syntax-variables";
@import "syntax-variables";

@import "./variables/ui-variables";
@import "ui-variables";

@ibeam-1x: url('');
@ibeam-2x: url('');

.cursor-white() {
  cursor: -webkit-image-set(@ibeam-1x 1x, @ibeam-2x 2x) 5 8, text;
}

// Editors
& when ( lightness(@syntax-background-color) < 50% ) {
  .platform-darwin atom-text-editor:not([mini]) .editor-contents--private {
    .cursor-white();
  }
}

// Mini Editors
& when ( lightness(@input-background-color) < 50% ) {
  .platform-darwin atom-text-editor[mini] .editor-contents--private {
    .cursor-white();
  }
}
